import {  configureStore } from "@reduxjs/toolkit"
import conSlice from "./slices/countSlies"
import zanSlies from "./slices/zanSlies"
import hitokoto from "./slices/hitokoto"
import lolSlies from "./slices/lolSlies"

// 创建仓库
let store = configureStore({
    reducer: {
       zan: zanSlies,
       con:conSlice,
       hito:hitokoto,
       lol:lolSlies
    }
})

// 读取数据
// console.log(store.getState());
// store.dispatch(jia(1))
// console.log(store.getState());
// store.dispatch(jian(2))
// console.log(store.getState());
export default store